package Views;

import javax.swing.JPanel;
import java.awt.Color;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JTable;
import java.awt.SystemColor;
import javax.swing.JLabel;
import javax.swing.SwingConstants;

public class FermentationView extends JPanel {
	private JTable table;
	private JTable table_1;

	/**
	 * Create the panel.
	 */
	public FermentationView() {
		setBackground(Color.WHITE);
		setLayout(new BorderLayout(0, 0));
		JPanel button_panel = new JPanel();
		button_panel.setBackground(SystemColor.menu);
		add(button_panel, BorderLayout.SOUTH);
		
		JButton btnRecordEntry = new JButton("Record Entry");
		button_panel.add(btnRecordEntry);
		
		JPanel panel = new JPanel();
		panel.setBackground(Color.WHITE);
		add(panel, BorderLayout.NORTH);
		panel.setLayout(new GridLayout(0, 3, 0, 0));
		
		JPanel panel_1 = new JPanel();
		panel_1.setBackground(Color.WHITE);
		panel.add(panel_1);
		
		JLabel lblCurrentRecipe = new JLabel("Current Recipe");
		panel_1.add(lblCurrentRecipe);
		
		JPanel panel_3 = new JPanel();
		panel_3.setBackground(Color.WHITE);
		panel.add(panel_3);
		panel_3.setLayout(new BorderLayout(0, 0));
		
		JLabel lblCompare = new JLabel("Compare:  ");
		lblCompare.setHorizontalAlignment(SwingConstants.RIGHT);
		panel_3.add(lblCompare);
		
		JComboBox comboBox = new JComboBox();
		panel.add(comboBox);
		
		JPanel panel_2 = new JPanel();
		panel_2.setBackground(Color.WHITE);
		add(panel_2, BorderLayout.WEST);
		panel_2.setLayout(new BorderLayout(0, 0));
		
		JPanel currentFerm = new JPanel();
		currentFerm.setBackground(Color.CYAN);
		panel_2.add(currentFerm, BorderLayout.WEST);
		currentFerm.setLayout(new BorderLayout(0, 0));
		
		table = new JTable();
		currentFerm.add(table, BorderLayout.NORTH);
		
		JPanel compareFerm = new JPanel();
		compareFerm.setBackground(Color.PINK);
		panel_2.add(compareFerm, BorderLayout.EAST);
		compareFerm.setLayout(new BorderLayout(0, 0));
		
		table_1 = new JTable();
		compareFerm.add(table_1, BorderLayout.NORTH);

	}

}
